Platform Explorer / Nuxeo Platform 6.0

Operation Workflow.CreateRoutingTask (Create task)

Description

Enable to create a routingTask bound to a route and its document. In accept operation chain and reject operation chain fields, you can put the operation chain ID of your choice among the one you contributed. Those operations will be executed when the user validates the task, depending on whether he accepts or rejects the task. Extra (String) properties can be set on the taskVariables from the input document or from the step.
Operation id Workflow.CreateRoutingTask
Category Services
Label Create task
Requires
Since 5.6

Parameters

Name Description Type Required Default value
accept operation chain string no  
mappingProperties properties no  
mappingTaskVariables properties no  
reject operation chain string no  

Signature

Inputs document, documents
Outputs document, documents

Implementation Information

Implementation Class Class: org.nuxeo.ecm.platform.routing.dm.operation.CreateRoutingTask
Contributing Component org.nuxeo.ecm.platform.routing.dm.operations

JSON Definition

{
  "id" : "Workflow.CreateRoutingTask",
  "label" : "Create task",
  "category" : "Services",
  "requires" : null,
  "description" : "Enable to create a routingTask bound to a route and its document. In <b>accept operation chain</b> and <b>reject operation chain</b> fields, you can put the operation chain ID of your choice among the one you contributed. Those operations will be executed when the user validates the task, depending on  whether he accepts or rejects the task. Extra (String) properties can be set on the taskVariables from the input document or from the step.",
  "since" : "5.6",
  "url" : "Workflow.CreateRoutingTask",
  "signature" : [ "document", "document", "documents", "documents" ],
  "params" : [ {
    "name" : "accept operation chain",
    "description" : null,
    "type" : "string",
    "required" : false,
    "widget" : null,
    "order" : 4,
    "values" : [ ]
  }, {
    "name" : "mappingProperties",
    "description" : null,
    "type" : "properties",
    "required" : false,
    "widget" : null,
    "order" : 0,
    "values" : [ ]
  }, {
    "name" : "mappingTaskVariables",
    "description" : null,
    "type" : "properties",
    "required" : false,
    "widget" : null,
    "order" : 0,
    "values" : [ ]
  }, {
    "name" : "reject operation chain",
    "description" : null,
    "type" : "string",
    "required" : false,
    "widget" : null,
    "order" : 5,
    "values" : [ ]
  } ]
}